package com.cuhk.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cuhk.common.utils.PageUtils;
import com.cuhk.gulimall.product.entity.AttrAttrgroupRelationEntity;
import com.cuhk.gulimall.product.vo.AttrGroupRelationVo;

import java.util.List;
import java.util.Map;

/**
 * 属性&属性分组关联
 *
 * @author chenyuijing
 * @email torchsam@aliyun.com
 * @date 2024-06-10 11:23:16
 */
public interface AttrAttrgroupRelationService extends IService<AttrAttrgroupRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void deleteRelation(AttrGroupRelationVo[] vos);

    void saveRelationByBatch(List<AttrGroupRelationVo> vos);

    List<Long> getAttrIds(Long attrGroupId);
}

